package com.hexinfo.dmpro.data.transfer.common.model;

import cn.hutool.core.util.StrUtil;
import lombok.Data;

@Data
public class CustomFuncationModel {

    private String databaseName;

    private String tableName;

    private String fieldName;

    private String functionDetails;

    public String getQuerySql() {
        return StrUtil.format("select {}, {} from {}.{} limit 10", fieldName, functionDetails, databaseName, tableName);
    }

}
